<?
if($model->id==0){
		$hidden['client_id']=$this->input->get('parent_id');
		$cat=$this->input->get('category');	
	}
else{
	$cat=$model->category;
}

?>

<div class='contentheader'>Clientdata</div>
<?
echo form::open_multipart(NULL,'',$hidden);
echo form::open_fieldset();
echo myform::upload('file','File ');
echo myform::dropdown('category','Category', $model->containers, $cat);
echo form::close_fieldset();
echo myform::submit();
echo form::close();
?>